The keys possibly need resizing after a (new) layer has been set, there's
however calling places that don't. Instead, fold this._redraw() into
setActiveLayer().
_onLevelChanged: function (level) {
this._setActiveLayer(level);
- this._redraw();
},
_onGroupChanged: function () {
this._setActiveLayer(0);
- this._redraw();
},
_onKeyboardGroupsChanged: function(keyboard) {
}
this._current_page = layers[activeLevel];
+ this._redraw();
this._current_page.show();
},